
#include	"my.h"

void		init_functiontab(t_list *(**functab)(t_list *list))
{
  functab[0] = &down_arrow;
  functab[1] = &up_arrow;
  functab[2] = &ctrl_c;
  functab[3] = &ctrl_d;
  functab[4] = '\0';
}

void		init_keytab(int *itab)
{
  itab[0] = DOWN;
  itab[1] = UP;
  itab[2] = CTRLC;
  itab[3] = CTRLD;
  itab[4] = '\0';
}
